<template>
    <view class="industryDetail">

        <rich-text class="content" :nodes="content"></rich-text>
    </view>
</template>

<script>
    export default{
        name:"registerAgreement",
        data(){
            return{
                content:'',
                id:''
            }
        },
        onLoad(){},
        mounted(){
            this.getChuBeiRules()
        },
        methods:{
            async getChuBeiRules(){
                let resData= await this.$apis.getChuBeiRules()
                let str = this.$util.formatRichText(resData.data.agreement)
                this.content=str.replace(/px/g,"rpx")
            }
        }
    }
</script>

<style lang="less" scoped>
</style>
